package com.itheima.d7_extends;

public class B extends A {

    private int k;
    public void print3(){
        System.out.println("-----子类的方法执行了-----");
        print1();

    }

}
